* {
  padding: 0;
  margin: 0;
  list-style: none;
  outline: none;
  /* border: none; */
}

a {
  text-decoration: none;
  outline: none;
  color: black;
}

html {
  width: 100vw;
  height: 100%;
  color: #575757;
  background: #fff;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 头部区 */
body>header {
  width: 100%;
  height: 8%;
  color: #575757;
}

header .header-top {
  position: relative;
  top: 15px;
  width: 95%;
  margin: 0 auto;
}

header .header-top span {
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 16px;
  font-weight: 600;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

header .header-top a {
  position: absolute;
  left: 5px;
  top: 3px;
}

header .header-top a img {
  width: 11px;
}
header button {
  position: absolute;
  right: 0;
  top: 0;
  outline: none;
  display: inline-block;
  color: #fff;
  background: #F15D44;
  width: 66px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border: none;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}


/* 主要内容区 */
main {
  width: 100%;
  height: 92%;
  overflow-y: auto;
  font-size: 14px;
}
main .cont {
  width: 95%;
  margin: 5px auto;
  /*border: 1px solid black;
  */box-sizing: border-box;
  padding: 15px;
  border-radius: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  -ms-border-radius: 9px;
  -o-border-radius: 9px;
  box-shadow: 1px 1px 5px rgb(233, 233, 233);
}
main .cont .name {
  width: 100%;
}
main .cont .name span{
  font-size: 14px;
  font-weight: 600;
  width: 65px;
}

main .cont .name input {
  border: none;
  width: calc(100% - 70px);
  height: 27px;
  font-size: 14px;
  box-sizing: border-box;
  padding-left: 5px;
  box-shadow: 1px 1px 5px #ccc;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}



main .cont .detail .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

main .cont .detail .title p {
  font-size: 14px;
  font-weight: 600;
}

.detail .title .add {
  width: 40px;
  height: 40px;
  background-image: url(/public/img/tianjia.png);
  background-size: cover;
}

.detail .detail_cont textarea{
  margin: 10px 0 5px;
  overflow: auto;
  resize: none;
  width: 100%;
  height: 65px;
  border: none;
  box-shadow: 1px 1px 5px #ccc;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  box-sizing: border-box;
  padding: 5px;
}

.detail .detail_cont ul{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.detail .detail_cont ul>li{
  width: 70px;
  height: 70px;
  margin-right: 7px;
  margin-bottom: 5px;
}
.detail .detail_cont ul>li>img {
  width: 100%;
  height: 100%;
}
.detail .detail_cont ul>img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}



.sett li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}
.sett li .left {
  display: flex;
  align-items: center;
}
.sett li .left img{
  width: 23px;
  height: 23px;
}
.sett li .left span {
  padding-left: 10px;
}
.sett li .right {
  display: flex;
  align-items: center;
}
.sett li .right img{
  width: 10px;
  height: 16px;
  padding: 0 10px;
}

.sett .set_price input{
  border: none;
  margin-right: 5px;
  padding-left: 10px;
  width: 65px;
  height: 25px;
  box-shadow: 1px 1px 5px #ccc;
}

.sett .set_num input{
  border: none;
  margin-right: 5px;
  padding-left: 10px;
  width: 65px;
  height: 25px;
  box-shadow: 1px 1px 5px #ccc;
}

.sett .set_receipt input {
  border: none;
  margin-right: 5px;
  padding-left: 10px;
  width: 65px;
  height: 25px;
  box-shadow: 1px 1px 5px #ccc;
}

.sett .set_obtained .right input{
  border: none;
  margin-right: 5px;
  padding-left: 10px;
  width: 115px;
  height: 25px;
  box-shadow: 1px 1px 5px #ccc;
}

/* 点击单价 */
.price_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(53, 52, 52, .6);
  display: none;
}


.price_box .cont{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px 15px; 
  background-color: #fff;
  color: #535353;
  outline: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.price_box .cont p {
  padding: 15px;
  border-bottom: 1px solid #EEEEEE;
}

.price_box .cont .close_box {
  position: relative;
  right: -93%;
  top: 10px;
  width: 20px;
  height: 20px;
  border-bottom: none;
  padding: 5px;
}
.close_box img {
  width: 100%;
  height: 100%;
}

.price_box .cont .sell {
  position: relative;
}

.price_box .cont span {
  display: inline-block;
}

.price_box .cont input {
  border: none;
  margin-left: 5px;
  height: 26px;
  box-shadow: 1px 1px 5px rgb(228, 228, 228);
  width: 70px;
  padding: 0 8px;
}
.price_box .cont .detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price_box .cont .detail button {
  width: 65px;
  height: 30px;
  line-height: 30px;
  border: none;
  background: #F34A3A;
  color: #fff;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}


/* 点击下架时间 */
.time_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(53, 52, 52, .6);
  display: none;
}








/* 媒体查询 */
@media screen and (min-width: 500px) {
  body {
    margin: 0 auto;
    width: 375px;
    border: 1px solid grey;
    z-index: 999;
  }

  footer {
    position: relative;
    left: 0%;
    width: 375px;
    z-index: 999;
  }
}